<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Admin\Model;

class GroupPurchaseModel extends SyncModel{
    
    protected $tableName = 'GroupPurchase'; 
    
    protected $_map = array('objectId' => 'id'); 
    
    //配置字段
    protected $fields = array(
        'id', 
        'name', 
        'cnt',
        'specId',
        'aprice',
        'bprice',
        'syncStatus',
        '_type'=>array(
            'id'=>'int',
            'name'=>'varchar',
            'cnt'=>'int',
            'specId'=>'int',
            'aprice'=>'double',
            'bprice'=>'double',
            'syncStatus'=>'int'
        )
    );
    
}